// COPYRIGHT © 201 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/3.34/esri/copyright.txt for details.

define(["require","exports","./common","./mat2d","./vec2"],(function(t,e,r,n,a){Object.defineProperty(e,"__esModule",{value:!0});var o,i,u,c=(o=n.create(),i=a.create(),function(t,e,r){return n.fromTranslation(o,r),n.multiply(t,o,e),a.negate(i,r),n.translate(t,t,i),t});e.rotategAt=(u=n.create(),function(t,e,a,o){return n.fromRotation(u,r.toRadian(a)),c(u,u,o),n.multiply(t,u,e),t}),e.scaleAt=function(){var t=n.create();return function(e,r,a,o){return n.fromScaling(t,a),c(t,t,o),n.multiply(e,t,r),e}}()}));